package com.j180.bean;

import java.io.Serializable;
import java.util.List;

public class PageBean<T> implements Serializable {

    private Integer curPage;

    private Integer pageSize;

    private Integer tolNum;

    private Integer tolSize;

    private List<T> datas;

    public Integer getCurPage() {
        return curPage;
    }

    public void setCurPage(Integer curPage) {
        this.curPage = curPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTolNum() {
        return tolNum;
    }

    public void setTolNum(Integer tolNum) {
        this.tolNum = tolNum;
    }

    public Integer getTolSize() {
        return tolSize;
    }

    public void setTolSize(Integer tolSize) {
        this.tolSize = tolSize;
    }

    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }

    @Override
    public String toString() {
        return "PageBean{" +
                "curPage=" + curPage +
                ", pageSize=" + pageSize +
                ", tolNum=" + tolNum +
                ", tolSize=" + tolSize +
                ", datas=" + datas +
                '}';
    }
}
